#ifndef OLED_H
#define OLED_H
#include "sys.h"


extern const unsigned char font_env[];
extern const unsigned char font_sleep_time[];
extern const unsigned char font_menu_exit[];
extern const unsigned char font_sw_version[];


void oled_init(void);

void lcd_8x16_num(unsigned char x, unsigned char y, unsigned int num, unsigned char len, unsigned char flag);

void lcd_8x16_str(unsigned char x, unsigned char y, const unsigned char ch[]);

void oled_disp_wendu(unsigned short temp);

void oled_disp_voltage(unsigned int power_vol);

void oled_disp_current(unsigned int ma);

void oled_disp_power(unsigned int w);

void oled_disp_warm_level(unsigned char level);

void lcd_full_disp(unsigned char data);

void lcd_16x16_chinese(unsigned char x, unsigned char y, const unsigned char ch[], unsigned char len, unsigned char flag);

#endif
